package com.fanh.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

public class AkmiDataxTask implements Serializable {
    private String id;

    @ApiModelProperty(value = "任务执行代码")
    private String taskCode;

    @ApiModelProperty(value = "任务类型(1数据同步、2数据备份)")
    private Boolean taskType;

    @ApiModelProperty(value = "任务名称")
    private String taskName;

    @ApiModelProperty(value = "任务类")
    private String jobClass;

    @ApiModelProperty(value = "执行周期分类(1非表达式 2 cron表达式)")
    private Boolean execycle;

    @ApiModelProperty(value = "每月的哪天")
    private Integer dayOfMonth;

    @ApiModelProperty(value = "周几")
    private Boolean dayOfWeek;

    @ApiModelProperty(value = "小时")
    private Integer hour;

    @ApiModelProperty(value = "分钟")
    private Integer minute;

    @ApiModelProperty(value = "间隔小时")
    private Integer intervalHour;

    @ApiModelProperty(value = "间隔分钟")
    private Integer intervalMinute;

    @ApiModelProperty(value = "1分钟、2小时、3日、4周、5月")
    private Boolean taskIntervalUnit;

    @ApiModelProperty(value = "规则表达式")
    private String cronExpression;

    @ApiModelProperty(value = "是否启用")
    private Boolean isEnable;

    private String createBy;

    private Date createDate;

    private String updateBy;

    private Date updateDate;

    private String remarks;

    private String delFlag;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTaskCode() {
        return taskCode;
    }

    public void setTaskCode(String taskCode) {
        this.taskCode = taskCode;
    }

    public Boolean getTaskType() {
        return taskType;
    }

    public void setTaskType(Boolean taskType) {
        this.taskType = taskType;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getJobClass() {
        return jobClass;
    }

    public void setJobClass(String jobClass) {
        this.jobClass = jobClass;
    }

    public Boolean getExecycle() {
        return execycle;
    }

    public void setExecycle(Boolean execycle) {
        this.execycle = execycle;
    }

    public Integer getDayOfMonth() {
        return dayOfMonth;
    }

    public void setDayOfMonth(Integer dayOfMonth) {
        this.dayOfMonth = dayOfMonth;
    }

    public Boolean getDayOfWeek() {
        return dayOfWeek;
    }

    public void setDayOfWeek(Boolean dayOfWeek) {
        this.dayOfWeek = dayOfWeek;
    }

    public Integer getHour() {
        return hour;
    }

    public void setHour(Integer hour) {
        this.hour = hour;
    }

    public Integer getMinute() {
        return minute;
    }

    public void setMinute(Integer minute) {
        this.minute = minute;
    }

    public Integer getIntervalHour() {
        return intervalHour;
    }

    public void setIntervalHour(Integer intervalHour) {
        this.intervalHour = intervalHour;
    }

    public Integer getIntervalMinute() {
        return intervalMinute;
    }

    public void setIntervalMinute(Integer intervalMinute) {
        this.intervalMinute = intervalMinute;
    }

    public Boolean getTaskIntervalUnit() {
        return taskIntervalUnit;
    }

    public void setTaskIntervalUnit(Boolean taskIntervalUnit) {
        this.taskIntervalUnit = taskIntervalUnit;
    }

    public String getCronExpression() {
        return cronExpression;
    }

    public void setCronExpression(String cronExpression) {
        this.cronExpression = cronExpression;
    }

    public Boolean getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(Boolean isEnable) {
        this.isEnable = isEnable;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", taskCode=").append(taskCode);
        sb.append(", taskType=").append(taskType);
        sb.append(", taskName=").append(taskName);
        sb.append(", jobClass=").append(jobClass);
        sb.append(", execycle=").append(execycle);
        sb.append(", dayOfMonth=").append(dayOfMonth);
        sb.append(", dayOfWeek=").append(dayOfWeek);
        sb.append(", hour=").append(hour);
        sb.append(", minute=").append(minute);
        sb.append(", intervalHour=").append(intervalHour);
        sb.append(", intervalMinute=").append(intervalMinute);
        sb.append(", taskIntervalUnit=").append(taskIntervalUnit);
        sb.append(", cronExpression=").append(cronExpression);
        sb.append(", isEnable=").append(isEnable);
        sb.append(", createBy=").append(createBy);
        sb.append(", createDate=").append(createDate);
        sb.append(", updateBy=").append(updateBy);
        sb.append(", updateDate=").append(updateDate);
        sb.append(", remarks=").append(remarks);
        sb.append(", delFlag=").append(delFlag);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}